package 装饰者模式.人穿衣服;

/**
 *
 */
public class NameDecorator extends Decorator {

    public NameDecorator(String name) {
        super(name);
    }

    public void operator() {
        System.out.println(name + "正在被装饰");
    }
}
